import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//自己封装的axios
import http from './axios';
Vue.use(ElementUI);
import './filters/index.js'
Vue.config.productionTip = false;
//添加到全局
Vue.prototype.$http=http;
Vue.prototype.$host='http://localhost:3000'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
